﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM.Model
{
    [Serializable]
    public partial class RMUsers
    {        
        public RMUsers()
        { }
        #region Model
        private int _id;
        private string _username;
        private string _password;
        private bool _isenable;
        private string _gender;
        private string _salary;
        private string _identitycard;
        private string _cellphone;
        private string _remark;
        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 用户名（或人员姓名）
        /// </summary>
        public string UserName
        {
            get { return _username; }
            set { _username = value; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }
        /// <summary>
        /// 是否启用，如果启用可登录，否则只能当做人员信息使用不能登录。
        /// </summary>
        public bool IsEnable
        {
            get { return _isenable; }
            set { _isenable = value; }
        }
        /// <summary>
        /// 性别
        /// </summary>
        public string Gender
        {
            get { return _gender; }
            set { _gender = value; }
        }
        /// <summary>
        /// 工资号
        /// </summary>
        public string Salary
        {
            get { return _salary; }
            set { _salary = value; }
        }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdentityCard
        {
            get { return _identitycard; }
            set { _identitycard = value; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string CellPhone
        {
            get { return _cellphone; }
            set { _cellphone = value; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }
        #endregion
    }
}
